Platform Explorer / Nuxeo Platform 2025.27

Contribution org.nuxeo.coldstorage.migrator--configuration

This contribution is part of XML component org.nuxeo.coldstorage.migrator inside nuxeo-coldstorage-2025.2.24.jar /OSGI-INF/coldstorage-restore-migration.xml

Extension Point

Extension point configuration of component MigrationService.

Registration Order

0
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <migration id="restore-from-cold-storage-migration">
          <description label="migration.coldstorage.restore">Restore documents from cold storage when move to cold storage is blocked</description>
          <class>org.nuxeo.coldstorage.migrator.RestoreFromColdStorageMigrator</class>
          <defaultState>disabled</defaultState>
          <state id="disabled">
            <description label="migration.coldstorage.restore.disabled">Move to cold storage is not blocked</description>
          </state>
          <state id="enabled">
            <description label="migration.coldstorage.restore.enabled">Move to cold storage is blocked, documents in cold storage need restoration</description>
          </state>
          <state id="done">
            <description label="migration.coldstorage.restore.done">All documents have been restored from cold storage</description>
          </state>
    
          <step fromState="enabled" id="enabled-to-done" toState="done">
            <description label="migration.coldstorage.restore.step">Restore downloadable documents from cold storage</description>
          </step>
        </migration>

    Restore downloadable documents from cold storage

XML Source

<extension point="configuration" target="org.nuxeo.runtime.migration.MigrationService">

    <migration id="restore-from-cold-storage-migration">
      <description label="migration.coldstorage.restore">Restore documents from cold storage when move to cold storage is blocked</description>
      <class>org.nuxeo.coldstorage.migrator.RestoreFromColdStorageMigrator</class>
      <defaultState>disabled</defaultState>
      <state id="disabled">
        <description label="migration.coldstorage.restore.disabled">Move to cold storage is not blocked</description>
      </state>
      <state id="enabled">
        <description label="migration.coldstorage.restore.enabled">Move to cold storage is blocked, documents in cold storage need restoration</description>
      </state>
      <state id="done">
        <description label="migration.coldstorage.restore.done">All documents have been restored from cold storage</description>
      </state>

      <step fromState="enabled" id="enabled-to-done" toState="done">
        <description label="migration.coldstorage.restore.step">Restore downloadable documents from cold storage</description>
      </step>
    </migration>

  </extension>